﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Himp.Base
{
    //[EventName("OtpRgst.Rec.Created.V1")]
    public class OtpRgstRecCreatedEto 
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 就医流水号
        /// </summary>
        public string MdtrtSn { get; private set; }

        /// <summary>
        /// 门诊结算方式
        /// </summary>
        public EnumOtpSetlWay OtpSetlWay { get; private set; }

        /// <summary>
        /// 结算类别Id
        /// </summary>
        public Guid SetlTypeId { get; set; }

        /// <summary>
        /// 患者Id
        /// </summary>
        public Guid PatnId { get; set; }

        /// <summary>
        /// 门诊号
        /// </summary>
        public string OtpNo { get; set; }

        /// <summary>
        /// 患者姓名
        /// </summary>
        public string PatnName { get; set; }

        /// <summary>
        /// 门诊排班记录id
        /// </summary>
        public Guid OtpSchdRecId { get; set; }

        /// <summary>
        /// 门诊排班记录明细id
        /// </summary>
        public Guid? OtpSchdRecDetlId { get; set; }

        /// <summary>
        /// 门诊挂号类别ID
        /// </summary>
        public Guid OtpRgstTypeId { get; set; }

        /// <summary>
        /// 就诊凭证类型
        /// </summary>
        public string MdtrtCertTypeCode { get; set; }

        /// <summary>
        /// 就诊凭证编号
        /// </summary>
        public string MdtrtCertNo { get; set; }

        /// <summary>
        /// 订单ID
        /// </summary>
        public Guid? OrderId { get; set; }

        // <summary>
        /// 退款单ID
        /// </summary>
        public Guid? RefundId { get; set; }

        ///// <summary>
        ///// 挂号状态
        ///// </summary>
        //public EnumRgstStatus RgstStas { get; set; }
    }
}
